/*
 * DILARANG MENGHAPUS ATAU MENGEDIT COPYRIGHT INI.
 * 
 * Copyright 2008 echo.khannedy@gmail.com. 
 * All rights reserved.
 * 
 * Semua isi dalam file ini adalah hak milik dari echo.khannedy@gmail.com
 * Anda tak diperkenankan untuk menggunakan file atau mengubah file
 * ini kecuali anda tidak menghapus atau merubah lisence ini.
 * 
 * File ini dibuat menggunakan :
 * IDE        : NetBeans
 * NoteBook   : Acer Aspire 5920G
 * OS         : Windows Vista
 * Java       : Java 1.6
 * 
 */
package edu.unindra.raport.main;

import java.util.logging.Level;
import java.util.logging.Logger;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import usu.widget.util.WidgetUtilities;
import edu.unindra.raport.gui.FormLogIn;

/**
 * 
 * @author usu
 */
public class RunMainRaport {

	/**
	 * 
	 * @param usu
	 */
	public static void main(String[] usu) {
		WidgetUtilities.invokeLater(new Runnable() {

			public void run() {
				try {
					UIManager.setLookAndFeel(UIManager
							.getSystemLookAndFeelClassName());
				} catch (ClassNotFoundException ex) {
					Logger.getLogger(RunMainRaport.class.getName()).log(
							Level.SEVERE, null, ex);
				} catch (InstantiationException ex) {
					Logger.getLogger(RunMainRaport.class.getName()).log(
							Level.SEVERE, null, ex);
				} catch (IllegalAccessException ex) {
					Logger.getLogger(RunMainRaport.class.getName()).log(
							Level.SEVERE, null, ex);
				} catch (UnsupportedLookAndFeelException ex) {
					Logger.getLogger(RunMainRaport.class.getName()).log(
							Level.SEVERE, null, ex);
				} finally {
					new FormLogIn().setVisible(true);
				}
			}
		});
	}

}
